package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_RunningBackDetail", catalog="Id")
public class TcwRunningBackDetail extends BaseEntity<TcwRunningBackDetail> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="RunningIdOne", nameJava="runningIdOne", typeDataBase="bigint")
	private Long runningIdOne;
	@YsField(nameDataBase="VgsbmFromOne", nameJava="vgsbmFromOne", typeDataBase="varchar")
	private String vgsbmFromOne;
	@YsField(nameDataBase="VgsjcFromOne", nameJava="vgsjcFromOne", typeDataBase="varchar")
	private String vgsjcFromOne;
	@YsField(nameDataBase="VgsbmToOne", nameJava="vgsbmToOne", typeDataBase="varchar")
	private String vgsbmToOne;
	@YsField(nameDataBase="VgsjcToOne", nameJava="vgsjcToOne", typeDataBase="varchar")
	private String vgsjcToOne;
	@YsField(nameDataBase="VJylxOne", nameJava="vJylxOne", typeDataBase="varchar")
	private String vJylxOne;
	@YsField(nameDataBase="FjeOne", nameJava="fjeOne", typeDataBase="decimal")
	private BigDecimal fjeOne;
	@YsField(nameDataBase="VbzOne", nameJava="vbzOne", typeDataBase="varchar")
	private String vbzOne;
	@YsField(nameDataBase="RunningIdTwo", nameJava="runningIdTwo", typeDataBase="bigint")
	private Long runningIdTwo;
	@YsField(nameDataBase="VgsbmFromTwo", nameJava="vgsbmFromTwo", typeDataBase="varchar")
	private String vgsbmFromTwo;
	@YsField(nameDataBase="VgsjcFromTwo", nameJava="vgsjcFromTwo", typeDataBase="varchar")
	private String vgsjcFromTwo;
	@YsField(nameDataBase="VgsbmToTwo", nameJava="vgsbmToTwo", typeDataBase="varchar")
	private String vgsbmToTwo;
	@YsField(nameDataBase="VgsjcToTwo", nameJava="vgsjcToTwo", typeDataBase="varchar")
	private String vgsjcToTwo;
	@YsField(nameDataBase="VjylxTwo", nameJava="vjylxTwo", typeDataBase="varchar")
	private String vjylxTwo;
	@YsField(nameDataBase="FjeTwo", nameJava="fjeTwo", typeDataBase="decimal")
	private BigDecimal fjeTwo;
	@YsField(nameDataBase="VbzTwo", nameJava="vbzTwo", typeDataBase="varchar")
	private String vbzTwo;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwRunningBackDetail setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TcwRunningBackDetail setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public Long getRunningIdOne() {
		return runningIdOne;
	}
	public TcwRunningBackDetail setRunningIdOne(Long runningIdOne) {
		this.runningIdOne = runningIdOne;
		return this;
	}
	public String getVgsbmFromOne() {
		return vgsbmFromOne;
	}
	public TcwRunningBackDetail setVgsbmFromOne(String vgsbmFromOne) {
		this.vgsbmFromOne = vgsbmFromOne;
		return this;
	}
	public String getVgsjcFromOne() {
		return vgsjcFromOne;
	}
	public TcwRunningBackDetail setVgsjcFromOne(String vgsjcFromOne) {
		this.vgsjcFromOne = vgsjcFromOne;
		return this;
	}
	public String getVgsbmToOne() {
		return vgsbmToOne;
	}
	public TcwRunningBackDetail setVgsbmToOne(String vgsbmToOne) {
		this.vgsbmToOne = vgsbmToOne;
		return this;
	}
	public String getVgsjcToOne() {
		return vgsjcToOne;
	}
	public TcwRunningBackDetail setVgsjcToOne(String vgsjcToOne) {
		this.vgsjcToOne = vgsjcToOne;
		return this;
	}
	public String getVJylxOne() {
		return vJylxOne;
	}
	public TcwRunningBackDetail setVJylxOne(String vJylxOne) {
		this.vJylxOne = vJylxOne;
		return this;
	}
	public BigDecimal getFjeOne() {
		return fjeOne;
	}
	public TcwRunningBackDetail setFjeOne(BigDecimal fjeOne) {
		this.fjeOne = fjeOne;
		return this;
	}
	public String getVbzOne() {
		return vbzOne;
	}
	public TcwRunningBackDetail setVbzOne(String vbzOne) {
		this.vbzOne = vbzOne;
		return this;
	}
	public Long getRunningIdTwo() {
		return runningIdTwo;
	}
	public TcwRunningBackDetail setRunningIdTwo(Long runningIdTwo) {
		this.runningIdTwo = runningIdTwo;
		return this;
	}
	public String getVgsbmFromTwo() {
		return vgsbmFromTwo;
	}
	public TcwRunningBackDetail setVgsbmFromTwo(String vgsbmFromTwo) {
		this.vgsbmFromTwo = vgsbmFromTwo;
		return this;
	}
	public String getVgsjcFromTwo() {
		return vgsjcFromTwo;
	}
	public TcwRunningBackDetail setVgsjcFromTwo(String vgsjcFromTwo) {
		this.vgsjcFromTwo = vgsjcFromTwo;
		return this;
	}
	public String getVgsbmToTwo() {
		return vgsbmToTwo;
	}
	public TcwRunningBackDetail setVgsbmToTwo(String vgsbmToTwo) {
		this.vgsbmToTwo = vgsbmToTwo;
		return this;
	}
	public String getVgsjcToTwo() {
		return vgsjcToTwo;
	}
	public TcwRunningBackDetail setVgsjcToTwo(String vgsjcToTwo) {
		this.vgsjcToTwo = vgsjcToTwo;
		return this;
	}
	public String getVjylxTwo() {
		return vjylxTwo;
	}
	public TcwRunningBackDetail setVjylxTwo(String vjylxTwo) {
		this.vjylxTwo = vjylxTwo;
		return this;
	}
	public BigDecimal getFjeTwo() {
		return fjeTwo;
	}
	public TcwRunningBackDetail setFjeTwo(BigDecimal fjeTwo) {
		this.fjeTwo = fjeTwo;
		return this;
	}
	public String getVbzTwo() {
		return vbzTwo;
	}
	public TcwRunningBackDetail setVbzTwo(String vbzTwo) {
		this.vbzTwo = vbzTwo;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwRunningBackDetail setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwRunningBackDetail setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwRunningBackDetail setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwRunningBackDetail tcwRunningBackDetail(
		String pbid,
		Long runningIdOne,
		String vgsbmFromOne,
		String vgsjcFromOne,
		String vgsbmToOne,
		String vgsjcToOne,
		String vJylxOne,
		BigDecimal fjeOne,
		String vbzOne,
		Long runningIdTwo,
		String vgsbmFromTwo,
		String vgsjcFromTwo,
		String vgsbmToTwo,
		String vgsjcToTwo,
		String vjylxTwo,
		BigDecimal fjeTwo,
		String vbzTwo,
		Integer status
			) {
		TcwRunningBackDetail entity = new TcwRunningBackDetail();
		entity.setPbid(pbid);
		entity.setRunningIdOne(runningIdOne);
		entity.setVgsbmFromOne(vgsbmFromOne);
		entity.setVgsjcFromOne(vgsjcFromOne);
		entity.setVgsbmToOne(vgsbmToOne);
		entity.setVgsjcToOne(vgsjcToOne);
		entity.setVJylxOne(vJylxOne);
		entity.setFjeOne(fjeOne);
		entity.setVbzOne(vbzOne);
		entity.setRunningIdTwo(runningIdTwo);
		entity.setVgsbmFromTwo(vgsbmFromTwo);
		entity.setVgsjcFromTwo(vgsjcFromTwo);
		entity.setVgsbmToTwo(vgsbmToTwo);
		entity.setVgsjcToTwo(vgsjcToTwo);
		entity.setVjylxTwo(vjylxTwo);
		entity.setFjeTwo(fjeTwo);
		entity.setVbzTwo(vbzTwo);
		entity.setStatus(status);
		return entity;
	}
}